package com.xinzhidi.web.house.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinzhidi.common.utils.DateUtils;
import com.xinzhidi.web.custommodel.domain.CustomModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;


/**
 * 住户InfoVo对象 c_household
 *
 * @author cx
 * @date 2023-05-23
 */
@ApiModel(value = "住户InfoVo对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class HouseholdInfoVo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "住户id")
    private Long id;

    @ApiModelProperty(value = "小区id")
    private Long plotId;

    @ApiModelProperty(value = "小区名称")
    private String plotName;

    @ApiModelProperty(value = "楼栋id")
    private Long buildId;

    @ApiModelProperty(value = "楼栋名称")
    private String buildName;

    @ApiModelProperty(value = "单元号")
    private Long unit;

    @ApiModelProperty(value = "单元名称")
    private String unitName;

    @ApiModelProperty(value = "楼层号")
    private Long floor;

    @ApiModelProperty(value = "门牌号")
    private String houseNumber;

    @ApiModelProperty(value = "方位")
    private String orientation;

    @ApiModelProperty(value = "管道位置")
    private String pipePosition;

    @ApiModelProperty(value = "采暖面积")
    private BigDecimal heatArea;

    @ApiModelProperty(value = "房间热卡号")
    private String hotCardNumber;

    @ApiModelProperty(value = "住户姓名")
    private String userName;

    @ApiModelProperty(value = "固定电话")
    private String landPhone;

    @ApiModelProperty(value = "移动电话")
    private String mobilePhone;

    @ApiModelProperty(value = "供热类型")
    private String heatingType;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "是否供热（0是 1否）")
    private Long heatingOrNot;

    @ApiModelProperty(value = "调控方法（0：未知 1：手动调控  2：自动调控）")
    private String regulationMethod;

    @ApiModelProperty(value = "模型id")
    private String modelIds;

    @ApiModelProperty(value = "模型")
    private List<CustomModel> customModels;

    @ApiModelProperty(value = "模型名称")
    private String modelName;

    @ApiModelProperty(value = "创建人")
    private Long createBy;

    @ApiModelProperty(value = "创建人名称")
    private String createName;

    @ApiModelProperty(value = "锁定标识（0：未锁定  1：已锁定  默认0）")
    private Integer lockStatus;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = DateUtils.YYYY_MM_DD_HH_MM_SS)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "用户类型")
    private String type;

    @ApiModelProperty(value = "用户类型（中文）")
    private String typeName;

    @ApiModelProperty(value = "阀门开度")
    private Integer valveOpen;
}
